<?php
// +---------------------------------------------------------------------------+
// | This file is part of the KnowledgebasePublisher package                   |
// | KnowledgebasePublisher - web based knowledgebase publisher tool           |
// |                                                                           |
// | Author:  Evgeny Leontev <eleontev@gmail.com>                              |
// | Copyright (c) 2005 Evgeny Leontev                                         |
// |                                                                           |
// | For the full copyright and license information, please view the LICENSE   |
// | file that was distributed with this source code.                          |
// +---------------------------------------------------------------------------+

require_once $controller->working_dir . 'inc/KBHome.php';
require_once $controller->working_dir . 'inc/KBHomeModel.php';

$obj = new KBHome;
$manager =& $obj->setManager(new KBHomeModel());

//$priv->setPrivArea('kb_entry');
//$manager->checkPriv($priv, $controller->action, @$rq->id);

$view = &$controller->getView($obj, $manager, 'KBHomeView_default');

//KBHomeView_default::getMostViewedQuestions();
?>